import flask

app = Flask(__name__)

# 假设这是从数据库中获取的用户列表
users = [
    {"UserID": "1", "Username": "user1", "Password": "password1", "RoleID": "role1"},
    {"UserID": "2", "Username": "user2", "Password": "password2", "RoleID": "role2"},
    {"UserID": "3", "Username": "user3", "Password": "password3", "RoleID": "role3"}
]

@app.route('/')
def index():
    return render_template('user_management.html', users=users)

if __name__ == '__main__':
    app.run(debug=True)
